package com.me.modules.activiti.service;


import com.me.modules.activiti.entity.ExtendHiActFlowbusEntity;

/**
 * 业务流程关系表与activitiBaseEntity中字段一样
 *
 * @author me
 * @email me@163.com
 * @Date 2018-08-04 13:56:50
 */
public interface ExtendHiActFlowbusService {

	ExtendHiActFlowbusEntity queryObject(String id);

	void save(ExtendHiActFlowbusEntity extendActFlowbus);

	void update(ExtendHiActFlowbusEntity extendActFlowbus);

	void delete(String id);

	/**
	 * 根据业务id更新
	 * @param extendActFlowbusEntity
	 * @return
	 */
	int updateByBusId(ExtendHiActFlowbusEntity extendActFlowbusEntity);

	/**
	 * 根据业务id和流程实例id查询
	 * @param instanceId 流程实例id
	 * @param busId 业务id
	 * @return
	 */
	ExtendHiActFlowbusEntity queryByBusIdInsId(String instanceId, String busId);


}
